package com.weiweiqin.service;

import java.util.List;

import com.weiweiqin.model.UserDeviceRelat;

public interface UserDeviceRelatService {
	/**
	 * 添加
	 * 
	 * @param u
	 */
	void save(UserDeviceRelat userDeviceRelat);
	
	List<UserDeviceRelat> getByDeviceId(int deviceId);

	List<UserDeviceRelat> getByUserName(String userName);
	
	UserDeviceRelat get(int id);
	
	void update(UserDeviceRelat userDeviceRelat);
	
	void delete(int id);
}